<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        .box{
            width:1259px;
            height:472px;
            margin:20px auto;
            position:relative;
        }
        .nav{
            width:840px;
            height:60px;
            background-color: #555555;
            position:absolute;
            margin-left:629px;
            left:-420px;
            bottom:0px;
        }
        ul li{
            list-style:none;
            float:left;
        }
        li a{
            width:140px;
            height:60px;
            line-height: 60px;
            text-decoration: none;
            text-align: center;
            color:white;
            display: inline-block;
        }
       li  a:hover{
           text-decoration: underline;
           background-color: white;
           color:black;
       }
    </style>
</head>
<body>
   <div class="box">
       <img src="file/定位居中案例/sf.png">
       <div class="nav">
           <ul>
               <li><a href="#">运单查询</a></li>
               <li><a href="#">运费查询</a></li>
               <li><a href="#">时效查询</a></li>
               <li><a href="#">服务网点查询</a></li>
               <li><a href="#">收送范围查询</a></li>
               <li><a href="#">客户专区</a></li>
           </ul>
       </div>
   </div>
</body>
</html>